package com.gyt.manager.dao.risk;

import com.gyt.manager.domain.risk.LabelInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LabelInfoMapper {

    List<LabelInfo> findLabelInfos(Map<String, Object> paramMap);

    Boolean batchUpdateLabelLevel(Map<String, Object> paramMap);

    LabelInfo selectByPrimaryKey(Long fid);

    int updateByFid(LabelInfo updateLabel);

    int updateRuleNum();

    void batchAdd(@Param("list") List<LabelInfo> list);

    int updateByLabelId(@Param("flabelLevel") String flabelLevel,
                        @Param("flabelId") String flabelId);
    List<String> selectAllLabelId();

    List<Map<String, Object>> selectAll();
}